package org.example.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.example.dao.SysUserDao;
import org.example.entity.SysUserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class SysUserController {
    @Autowired
    private SysUserDao sysUserDao;

    @GetMapping("/userTest")
    public List<SysUserEntity> userTest(String selectTokenMode){
        return sysUserDao.selectList(new LambdaQueryWrapper<>());
    }
}
